
var chart_0bc54089a2ff40cdb84952c865fbe776 = echarts.init(
    document.getElementById('0bc54089a2ff40cdb84952c865fbe776'), 'white', { renderer: 'canvas' });
var option_0bc54089a2ff40cdb84952c865fbe776 = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [],
    "legend": [
        {
            "data": [],
            "selected": {},
            "show": true,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "showContent": true,
        "alwaysShowContent": false,
        "showDelay": 0,
        "hideDelay": 100,
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0,
        "padding": 5
    },
    "title": [
        {
            "text": "JAVA \u76f8 \u5173 \u5c97 \u4f4d \u4fe1 \u606f",
            "left": "center",
            "padding": 5,
            "itemGap": 10,
            "textStyle": {
                "color": "#ffffff",
                "fontSize": 30
            }
        }
    ]
};
chart_0bc54089a2ff40cdb84952c865fbe776.setOption(option_0bc54089a2ff40cdb84952c865fbe776);
window.addEventListener('resize', function () {
    chart_0bc54089a2ff40cdb84952c865fbe776.resize();
})

export function updateTitleText(city){
    option_0bc54089a2ff40cdb84952c865fbe776.title[0].text = city +" JAVA \u76f8 \u5173 \u5c97 \u4f4d \u4fe1 \u606f"

    chart_0bc54089a2ff40cdb84952c865fbe776.setOption(option_0bc54089a2ff40cdb84952c865fbe776);
    window.addEventListener('resize', function () {
        chart_0bc54089a2ff40cdb84952c865fbe776.resize();
    })
}